<div class="box border grey" id="main-content">
    <div class="box-title">
        <h4>业务管理</h4>
    </div>
    <div class="box-body">
        <div class="tabbable header-tabs">
            <ul class="nav nav-tabs">
                <li class="{{toState.name=='businessOpportunityManage'?'active':''}}"><a ng-click="changeTo('businessOpportunityManage')"><i class="fa fa-circle-o"></i> <span class="hidden-inline-mobile">业务机会</span></a></li>
                <li class="{{toState.name=='businessCompanyManage'?'active':''}}"><a ng-click="changeTo('businessCompanyManage')"><i class="fa fa-circle-o"></i> <span class="hidden-inline-mobile">业务客户公司</span></a></li>
                <li class="{{toState.name=='businessContactManage'?'active':''}}"><a ng-click="changeTo('businessContactManage')"><i class="fa fa-search"></i> <span class="hidden-inline-mobile">业务联系人</span></a></li>
            </ul>
        </div>
        <div class="dataTables_wrapper form-inline">
            <div class="row">
                <div class="dataTables_header clearfix">
                    <div class="col-md-4 col-sm-6">
                        <div id="datatable2_length" class="dataTables_length">
                            <label>
                                <select size="1" ng-model="numbersPerPage" ng-options="v for v in numbersPerPageEnable" class="form-control input-sm inline"></select>
                                条/页
                            </label>
                        </div>
                    </div>
                    <div class="col-md-4 col-sm-6">
                        <div class="btn-group" ng-init="orgInfos=true">
                            <button class="btn btn-xs btn-{{orgInfos?'info':'default'}}" ng-click="orgInfos=true">组织业务信息</button>
                            <button class="btn btn-xs btn-{{orgInfos?'default':'info'}}" ng-click="orgInfos=false">个人业务信息</button>
                        </div>
                    </div>
                    <div class="col-md-4 col-sm-12">
                        <div ng-init="showList=false" class="inline float-right btn-group ">
                            <button ng-click="linkDown()" class="btn btn-sm btn-info">同步企业数据</button>
                            <!--
                            <span class="{{showList?'open':''}}"  ng-mouseleave="showList=false">
                                <button class="btn btn-sm btn-info dropdown-toggle" ng-click="showList=true" ng-init="over=false">
                                    批量操作
                                    <span class="caret"></span>
                                </button>
                                <ul ng-mouseover="over=true" ng-mouseleave="over=false" class="dropdown-menu context pull-right {{over?'bk-green':''}}">
                                    <li ng-click="deleteOrgContact()"><i class="fa fa-print"></i>删除</li>
                                </ul>
                            </span>
                            -->
                        </div>
                        <div class="dataTables_filter inline float-right">
                            <label>
                                <input type="text" ng-model="filterInfos.name" placeholder="Search" class="form-control input-sm">
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            <div data-ui-view="detail">
            </div>
            <div class="row">
                <div class="dataTables_footer clearfix">
                    <div class="col-md-6">
                        <div class="dataTables_info">
                            Showing {{rowStart+1}} - {{rowEnd+1}} of {{number}} entries
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="dataTables_paginate paging_bs_full" >
                            <ul class="pagination no-margin">
                                <li class="{{presentPage==1?'disabled':''}}" ng-click="changePage(1)">
                                    <a tabindex="0" class="paginate_button first">
                                        First
                                    </a>
                                </li>
                                <li class="{{presentPage==1?'disabled':''}}" ng-click="changePage(presentPage-1)">
                                    <a tabindex="0"
                                       class="paginate_button previous">
                                        Previous
                                    </a>
                                </li>
                                <li ng-repeat="item in pages" ng-click="changePage(item)" class="{{presentPage==item?'disabled':''}}">
                                    <a tabindex="0">
                                        {{item}}
                                    </a>
                                </li>
                                <li class="{{presentPage==totalPages?'disabled':''}}" ng-click="changePage(presentPage+1)">
                                    <a tabindex="0" class="paginate_button next">
                                        Next
                                    </a>
                                </li>
                                <li class="{{presentPage==totalPages?'disabled':''}}" ng-click="changePage(totalPages)">
                                    <a tabindex="0" class="paginate_button last">
                                        Last
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>